package org.arain.baseii.system.gen;

import java.util.List;
import java.util.Map;

import org.arain.baseii.common.CommonService;
import org.arain.baseii.grid.QueryParam;

public interface GenService extends CommonService<GenDto>{
	String load_grid(QueryParam param);
	
	Map<String, String> queryTable(String tableName);
	
	List<Map<String, String>> queryColumns(String tableName);
	/**
	 * 生成代码
	 * @param page 
	 * @param mapper 
	 * @param author 
	 */
	byte[] generatorCode(String[] tableNames, String author, String mapper, String page);
}
